<template>
  <div>
    <!-- 移动端不显示 -->
    <div class="phone">
      <a-flex class="flex-s h-100" :gap="24" vertical>
        <h2 class="text-linear-gradient">AX 后台管理系统</h2>
        <div class="system__subtitle">您当前访问的是PC端</div>
        <div>
          <a @click="gotoMobile">
            <LinkOutlined class="mr-2" />
            前往移动端
          </a>
        </div>
      </a-flex>
    </div>
  </div>
</template>

<script setup lang="ts">
import { openLink } from '@/utils/common/utils';

const gotoMobile = () => {
  openLink(`http://150.158.14.110:8001/`);
};
</script>

<style lang="scss" scoped>
.phone {
  height: 100vh;
}
.text-999 {
  color: #999 !important;
}
@media screen and (min-width: 700px) {
  .phone {
    display: none;
  }
}
</style>
